estimateIRRSeed

Estimates an initial 'guess' seed percentage for use with computeIRR, using a centroid-weighted strategy. This method guards against flat or unhelpful seed values by applying minimum magnitude and clamping thresholds, improving convergence of the Secant method.

Note: Moneydance uses an inverse cashflow sign convention (e.g. inflows are negative, outflows are positive), but this does not affect the mathematical correctness of the IRR calculation.

Return

a seed percentage suitable for use as the seedPercent parameter to computeIRR.

Since

MD2027

Parameters

cashFlows

a valid, time-ordered list of cash flows that will be passed to computeIRR.